<!doctype html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>{$site_info.site_seo_title}-{$site_info.site_name}</title>
<meta name="description" content="{$site_info.site_seo_description}" />
<meta name="keywords" content="{$site_info.site_seo_keywords}">
<include file="public@base"/>
</head>
<body>

<include file="public@header"/>


<include file="public@searchbar"/>


<div id="imain">
  <include file="public@left"/>
  <div class="syrxcp">
    <div class="iprotitle"><a href="{:url('portal/list/index',['id'=>2])}">more+</a>
      <h3>热门推荐</h3>
      <span>hot products</span></div>
    <div class="clear" style="height:30px;"></div>
    <div class="iprolist">
    	<php>
    		$categoryIds = [2,5,6,7,8,9,10,11,12,13,14];
    		$where = "post.recommended = 1";
    	</php>
		<portal:articles item="article"  where="$where" order="post.post_order desc,post.published_time desc" page="12"
           relation="categories"
           categoryIds="$categoryIds"
           returnVarName="articles_data">
			<div class="procn00" >
		        <h3><a href="{:url('portal/Article/index',array('cid'=>$article.category_id,'id'=>$article['id']))}" title="{$article.post_title}" >
		        <notempty name="article.more.thumbnail">
					<img src=" {:cmf_get_image_url($article.more.thumbnail)}" style='max-width:210px;max-height:170px;'  alt="{$article.post_title}"/>
				</notempty>
		        </a></h3>
		        <p><a href="{:url('portal/Article/index',array('cid'=>$article.category_id,'id'=>$article['id']))}" title="{$article.post_title}">{$article.post_title}</a></p>
		    </div>
		</portal:articles>
     </div>
  </div>
</div>
<div class="clear" style="height:40px;"></div>
<div class="demo_adv"><a href="{:url('portal/page/index',['id'=>2])}" title="立即咨询"></a></div>
<div class="clear" style="height:40px;"></div>
<div class="youshi">
  <div class="youshin">

   
  </div>
</div>
<div class="clear" style="height:40px;"></div>
<div class="demo_adv1"><a href="{:url('portal/page/index',['id'=>2])}" title="立即咨询"></a></div>
<div class="clear" style="height:40px;"></div>


<div class="inews">
  <div class="zknews">
    <div class="zknewstitle"> <a href="{:url('portal/page/index',['id'=>1])}" >查看详情+</a>
      <h3>关于我们</h3>
    </div>
    <php>
		$page_id=1;
		$page=\app\portal\service\ApiService::page($page_id);
	</php>
    <div class="ihotnews">
      <h3>
      	<a href="{:url('portal/page/index',['id'=>1])}" title="{$site_info.site_name}">
	      	<notempty name="page.more.thumbnail">
			   <img src=" {:cmf_get_image_url($page.more.thumbnail)}"/>
			</notempty>
      	</a>
      </h3>
      <h4>
        <p>{$site_info.site_name}</p>
        
		<!--页面标题-->
        <span>
        	<a href="{:url('portal/page/index',['id'=>1])}" title="{$site_info.site_name}">
        	{$page.post_content|mb_substr=0,200,'utf-8'}... 
        	</a>
        </span>
      </h4>
    </div>
    <div class="clear" style="height:20px;"></div>
  </div>
  <div class="hynews">
    <div class="zknewstitle"> <a href="{:url('portal/list/index',['id'=>1])}">查看详情+</a>
      <h3>新闻资讯</h3>
    </div>
    <div class="hynewslist">
		<ul>
			<portal:articles item="vo"  where="1" order="post.post_hits desc" page="7"
	                     relation="categories"
	                     categoryIds="1"
	                     returnVarName="articles_data">
				<li><a href="{:url('portal/Article/index',array('cid'=>$vo.category_id,'id'=>$vo['id']))}" title="{$vo.post_title}" ><span>{$vo.published_time|date='Y-m-d',###}</span>{$vo.post_title|mb_substr=0,15,'utf-8'}...</a></li>
           </portal:articles>
		</ul>
    </div>
  </div>
</div>
<div class="clear" style="height:40px;"></div>
<div class="imain">
  <div class="ihonortitle">
    <h3>昌平滤器产品展示
      <p>Product</p>
    </h3>
  </div>
  <div class="clear" style="height:20px;"></div>
  <div class="ihonor">
    <div id="demo1p">
      <div id="indemo1p">
        <div id="demo1p1">
			<php>$categoryIds = [2,5,6,7,8,9,10,11,12,13,14];</php>
			<portal:articles item="article"  where="1" order="post.post_order desc,post.post_hits desc" page="20"
	           relation="categories"
	           categoryIds="$categoryIds"
	           returnVarName="articles_data">
				<div class="procn00" >
			        <h3><a href="{:url('portal/Article/index',array('cid'=>$article.category_id,'id'=>$article['id']))}" title="{$article.post_title}" >
			        <notempty name="article.more.thumbnail">
						<img src=" {:cmf_get_image_url($article.more.thumbnail)}" style='max-width:210px;max-height:170px;'  alt="{$article.post_title}"/>
					</notempty>
			        </a></h3>
			        <p><a href="{:url('portal/Article/index',array('cid'=>$article.category_id,'id'=>$article['id']))}" title="{$article.post_title}">{$article.post_title}</a></p>
			    </div>
			</portal:articles>
                    
                            </div>
        <div id="demo1p2"> </div>
      </div>
    </div>
    <script>
	<!--
	var speed3=35; //数字越大速度越慢
	var tab30=document.getElementById("demo1p");
	var tab31=document.getElementById("demo1p1");
	var tab32=document.getElementById("demo1p2");
	tab32.innerHTML=tab31.innerHTML;
	function Marquee3(){
	if(tab32.offsetWidth-tab30.scrollLeft<=0)
	tab30.scrollLeft-=tab31.offsetWidth
	else{
	tab30.scrollLeft++;
	}
	}
	var MyMar3=setInterval(Marquee3,speed3);
	tab30.onmouseover=function() {clearInterval(MyMar3)};
	tab30.onmouseout=function() {MyMar3=setInterval(Marquee3,speed3)};
	-->
	</script> 
  </div>
</div>
<include file='public@footer'/>
﻿
</body>

</html>



